<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="/mysite/images/register.css" rel="stylesheet" type="text/css">
<link href="http://sf.panli.com/FrontEnd/images20090801/favicon.ico?v=3.0" type="image/ico" rel="shortcut icon">
<title>注册 - Qiqu Taobao</title>
<script type="text/javascript" src="chrome-extension://dlnembnfbcpjnepmfjmngjenhhajpdfd/resources/LocalScript.js"></script>
<script type="text/javascript" src="chrome-extension://dlnembnfbcpjnepmfjmngjenhhajpdfd/libraries/DataExchangeScript.js"></script>
</head>

<body onload="document.getElementById('regEmail').focus();">
<form name="regform" method="post" action="<?php echo REGISTER_PAGE('/step2') ; ?>" id="regform">
  <div>
  <input type="hidden"  id="root_path" value="<?php echo ROOT_PATH(); ?>"> <!--  Root path for javascript -->
  <script src="/mysite/js/jquery-1.3.2.min.js" type="text/javascript"></script>
  <script type="text/javascript" src="/mysite/js/register.js"></script>
  </div>
  <div class="top">
    <div class="logo"> <a href="http://www.panli.com/"> <img src="/mysite/images/logo.gif" alt="Panli"></a></div>
    <div class="hy"> <img src="/mysite/images/hy.gif" alt=""></div>
    <div class="T_right"> 
     <a href="http://www.qiqutaobao.com/">返回首页</a><span>|
    </span><a href="http://www.qiqutaobao.com/Help.aspx">帮助信息</a> </div>
  </div>
  <div class="box">
    <div class="move"> <img src="/mysite/images/move.gif" alt="注册"></div>
    <div class="welcome"></div>
    <div class="register">
      <table>
        <tbody>
          <tr>
            <td class="l"> Email地址： </td>
            <td><input value="" maxlength="80" id="regEmail" name="regEmail" type="text"
             onfocus="focusCheck(this,'此邮箱将作为您登录Qiqu Taobao的帐号，并将用来接收验证邮件');" onblur="emailBlur(this)">
              <p> 此邮箱将作为您登录Qiqu Taobao的帐号，并将用来接收验证邮件</p></td>
          </tr>
          <tr>
            <td class="l"> 设置用户名： </td>
            <td>
            <input value="" maxlength="20" id="regNickName" name="regNickName" type="text"
             onfocus="focusCheck(this,'用户名可由大小写英文字母、中文、数字组成，长度2-8个汉字或4-16个字符');" onblur="nicknameblur(this)">
              <p> 用户名也可以作为您登录Qiqu Taobao的帐号，大家以后就这样称呼您</p></td>
          </tr>
          <tr>
            <td class="l"> 设定密码： </td>
            <td>
              <input onkeydown="passPower(this)" maxlength="20" id="regPassword" name="regPassword" value="" 
              type="password" onblur="checkPassword(this)" 
              onfocus="focusCheck(this,'密码可由大小写英文字母、数字组成、长度为6-20个字符')">
              <p> 请输入您的帐号密码</p>
              <div id="passPower" class="rank" style="display: none;"> 安全等级：低</div></td>
          </tr>
          <tr>
            <td class="l"> 确认密码： </td>
            <td><input id="regRePassword" maxlength="20" name="regRePassword" type="password" 
            onfocus="focusCheck(this,'请再输入一次您的密码')" onblur="reCheckPassword(this)" value="">
              <p> 请再输入一次您的密码</p></td>
          </tr>
          <tr>
            <td class="l">联系电话： </td>
            <td><input value="" maxlength="20" id="regTelphone" name="regTelphone" type="text" 
            onfocus="focusCheck(this,'请仔细填写以免紧急情况时站长无法联系到你');" onblur="telphoneblur(this)" />
              <p> 如果有任何问题, 站长可以通过这个电话联系你</p></td>
          </tr>
          <td class="l"> 居住地址： </td>
          <td><input maxlength="255" id="regAddress" name="regAddress" type="text" 
          onfocus="focusCheck(this,'居住地址可以只填写所在区域');" onblur="addressblur(this)" />
          <p> 站长可以通过居住地址让居住在附近的朋友代你提货</p></td>
        </tr>
        <tr>
          <td class="l"> 验证码： </td>
          <td>
           <input maxlength="4" 
           onfocus="$(this).attr('class','verification').nextAll('p').hide();"
           onblur="checkCode(this)" 
           id="regCheckCodeInput" class="verification" name="regCheckCodeInput" type="text">
            
            <img id="regCheckCode" src="<?php echo CAPTCHA_IMG(); ?>" title="点击图片刷新" alt="验证码" 
            style="vertical-align:middle;cursor:pointer;width:131px;height:28px" 
            onclick="this.src=<?php echo CAPTCHA_IMG_RAN(); ?>"  border="0" > 
            <a style="cursor: pointer;" onclick="$('#regCheckCode').click();">看不清？换张图</a>
            <p id="regCheckCodeText"  name="regCheckCodeText" class="red" style="display: none"> 验证码输入错误，请重新输入</p></td>
        </tr>
          </tbody>
      </table>
      <div class="refer"> <span>
        <label>
          <input id="regAgree" name="regAgree" type="checkbox" value="" checked="checked">
          我已阅读并同意</label>
        <a href="http://www.panli.com/news/about.aspx?nid=10" target="_blank">《Qiqu Taobao注册协议》</a></span>
       <input class="button" name="" type="button" value="提交注册" 
       onmouseover="this.className='button_'" 
       onmouseout="this.className='button'" 
       onclick="regSubmit()">        
      </div>
    </div>
  </div>
  <div class="bottom"> </div>
</form>

</body>
<script>$("regEmail").focus();</script>
</html>